package com.moyuaninfo.myyserver.vo;

import com.moyuaninfo.myyserver.entity.Dvr;
import com.moyuaninfo.myyserver.enums.DwPTZPresetCmdEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author QiuXiangBa
 * @version 1.0
 **/
@Data
@ApiModel(value = "hikPtzPresetOtherVo", description = "云台预置点操作接收数据POJO")
public class HikPtzPresetOtherVo {
    @ApiModelProperty(name = "dvr", value = "设备信息" , dataType = "Dvr", required = true)
    @NotNull(message = "请输入设备信息")
    private Dvr dvr;

    @ApiModelProperty(name = "dwPtzPresetCmd", value = "操作云台预置点命令", dataType = "String", required = true, example = "SET_PRESET")
    @NotNull(message = "云台预置点命令")
    private DwPTZPresetCmdEnum dwPtzPresetCmd;

    @ApiModelProperty(name = "dwPresetIndex", value = "预置点的序号（从1开始），最多支持300个预置点", dataType = "int", required = true, example = "1")
    @NotNull(message = "请输入预置点的序号")
    private Integer dwPresetIndex;
}
